package com.ccp.dev.system.service.impl.curuser;

import com.ccp.dev.core.basic.model.CurrentUser;
import com.ccp.dev.system.service.ICurUserService;

import java.util.ArrayList;
import java.util.List;

public class OrgUserService implements ICurUserService {

    @Override
    public List<String> getByCurUser(CurrentUser currentUser) {
        List<String> list=new ArrayList<String>();
        list.add(currentUser.getOrgId());
        return list;
    }

    @Override
    public String getKey() {
        return "org";
    }

    @Override
    public String getTitle() {
        return "组织授权（本层级）";

    }
}
